package com.clinic.entity.gui;


public class GuiUserContact extends GuiUser{
	
	private int contactId;
	private String telNo;
	private String address;
	private GuiUser user;
	
	public boolean isAvailable() {
		return (user != null && user.getUserId() > 0L);
	}
	
	public int getContactId() {
		return contactId;
	}
	
	public void setContactId(int contactId) {
		this.contactId = contactId;
	}
	
	public String getTelNo() {
		return telNo;
	}
	
	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}

	public GuiUser getUser() {
		return user;
	}

	public void setUser(GuiUser user) {
		this.user = user;
	}

}
